package com.young.fragments.demo.simple_jump_demo

import android.os.Bundle
import com.young.fragments.databinding.ActivitySample1Binding
import com.young.fragments.demo.simple_jump_demo.fms.SimpleJumpDemoFragment
import com.young.lib_fragments.acs.BaseActivity

/**
 * @author huangzehui
 * @date 2025/1/12 21:57 周日
 * @description 简单跳转案例
 */
class Sample1Activity : BaseActivity() {

    private val mBinding by lazy {
        ActivitySample1Binding.inflate(layoutInflater)
    }


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(mBinding.root)

        start(fm = SimpleJumpDemoFragment(), isToBackStack = false)
    }

    override fun getFragmentContainerId(): Int {
        return mBinding.flFmContainer.id
    }


}